package com.kanche.bigbaby.collection.domain;

import java.io.Serializable;

/**
 * Created by zhangsl on 15/3/8.
 */
public class SubstituteUser implements Serializable {
    private String id;
    private String userId;
    private String leftDays;
    private String createAt;
    private String updateAt;
    private boolean enabled;
    private boolean usePrivatePhone;
    private boolean available;
    private String level;
    private int position;
    private int occupiedPosition;
    private ServiceDate serviceDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getLeftDays() {
        return leftDays;
    }

    public void setLeftDays(String leftDays) {
        this.leftDays = leftDays;
    }

    public String getCreateAt() {
        return createAt;
    }

    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }

    public String getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(String updateAt) {
        this.updateAt = updateAt;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public boolean isUsePrivatePhone() {
        return usePrivatePhone;
    }

    public void setUsePrivatePhone(boolean usePrivatePhone) {
        this.usePrivatePhone = usePrivatePhone;
    }

    public boolean isAvailable() {
        return available;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getOccupiedPosition() {
        return occupiedPosition;
    }

    public void setOccupiedPosition(int occupiedPosition) {
        this.occupiedPosition = occupiedPosition;
    }

    public ServiceDate getServiceDate() {
        return serviceDate;
    }

    public void setServiceDate(ServiceDate serviceDate) {
        this.serviceDate = serviceDate;
    }

    public class ServiceDate implements Serializable {
        private String begin;
        private String end;

        public String getBegin() {
            return begin;
        }

        public void setBegin(String begin) {
            this.begin = begin;
        }

        public String getEnd() {
            return end;
        }

        public void setEnd(String end) {
            this.end = end;
        }
    }

    public static class OpenSubRequest{
        private ServiceDate serviceDate;
        private int position;
        private String merchantId;

        public int getPosition() {
            return position;
        }

        public void setPosition(int position) {
            this.position = position;
        }

        public String getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(String merchantId) {
            this.merchantId = merchantId;
        }

        public ServiceDate getServiceDate() {
            return serviceDate;
        }

        public void setServiceDate(ServiceDate serviceDate) {
            this.serviceDate = serviceDate;
        }
    }
}
